Skip to content

fix(peers): widen peer ranges to allow 0.74.x alongside 0.75.x#10

Closed
ta3pks wants to merge 1 commit into
MasuRii:mainfrom
ta3pks:chore/widen-peer-ranges-0.75
Closed

fix(peers): widen peer ranges to allow 0.74.x alongside 0.75.x#10
ta3pks wants to merge 1 commit into
MasuRii:mainfrom
ta3pks:chore/widen-peer-ranges-0.75

Conversation

@ta3pks
Copy link
Copy Markdown

@ta3pks ta3pks commented May 25, 2026

Summary

Widen the @earendil-works/pi-{coding-agent,tui} peer ranges in package.json from ^0.75.4 to >=0.74.0 <0.76.0.

Why

The current ^0.75.4 ceiling (<0.76.0) conflicts with any package that peers at ^0.74.0 (e.g. pi-powerline-footer) because npm resolves peer intersection to 0.74.x, then finds ^0.75.4 unsatisfiable. pi update fails with ERESOLVE.

When pi update runs npm install, npm picks the lowest version satisfying the broadest peer range. With pi-simplify and pi-powerline-footer on ^0.74.0 (or the widened >=0.74.0 <0.76.0), npm selects 0.74.2 -- which is excluded by pi-rtk-optimizer's ^0.75.4.

This is the same class of fix as MattDevy/pi-extensions#127 (pi-simplify, already merged and published as v0.2.2).

Test plan

  • After release, run pi update on a host with pi-simplify, pi-powerline-footer, and pi-rtk-optimizer installed -- should resolve cleanly without --legacy-peer-deps
  • Existing functionality continues to pass (no code change, peer range only)

Release notes

Peer ranges widened from ^0.75.4 to >=0.74.0 <0.76.0 for both @earendil-works/pi-coding-agent and @earendil-works/pi-tui.

@MasuRii MasuRii closed this May 26, 2026
@ta3pks
Copy link
Copy Markdown
Author

ta3pks commented May 26, 2026

is there act reason for not merging this?

@MasuRii
Copy link
Copy Markdown
Owner

MasuRii commented May 27, 2026

is there act reason for not merging this?

Sorry, but it was actually already added and fix in my local changes before. It's just that I mainly take longer to released to verify completely myself that everything is fine. It's already released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants